package com.abc.recycling.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "baidu.map")
public class BaiduMapConfig {
    private String apiKey;
    private String apiUrl;
    private String secretKey;
    private String geocodingUrl = "https://api.map.baidu.com/geocoding/v3";
    private String reverseGeocodingUrl = "https://api.map.baidu.com/reverse_geocoding/v3";
    private String directionUrl = "https://api.map.baidu.com/direction/v2";

    public String getApiKey() {
        return apiKey;
    }

    public void setApiKey(String apiKey) {
        this.apiKey = apiKey;
    }
} 